package com.yyk.yiliao.bean;


import java.util.List;

/**
 * 首页预约挂号医院类型
 */

public class CommonTypehospitaInfo {
    @Override
    public String toString() {
        return "CommonTypehospitaInfo{" +
                "code=" + code +
                ", msg='" + msg + '\'' +
                ", data=" + data +
                '}';
    }

    /**
     * code : 1
     * msg : 返回成功
     * data : [{"id":20,"name":"生殖专科医院"},{"id":19,"name":"职业病防治医院"},{"id":18,"name":"慢性病防治医院"},{"id":17,"name":"耳鼻喉医院"},{"id":16,"name":"胃肠专科医院"},{"id":15,"name":"骨科医院"},{"id":14,"name":"口腔医院"},{"id":13,"name":"泌尿外科医院"},{"id":12,"name":"健康体检中心"},{"id":11,"name":"皮肤专科医院"},{"id":10,"name":"妇幼专科医院"},{"id":9,"name":"精神心理医院"},{"id":8,"name":"中医医院"},{"id":7,"name":"妇产科医院"},{"id":6,"name":"肛肠专科医院"},{"id":5,"name":"眼科医院"},{"id":4,"name":"儿童医院"},{"id":3,"name":"社康服务中心"},{"id":2,"name":"综合医院"},{"id":1,"name":"血液病专科医院"}]
     */

    private int code;
    private String msg;
    private List<DataBean> data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        @Override
        public String toString() {
            return "DataBean{" +
                    "id=" + id +
                    ", name='" + name + '\'' +
                    '}';
        }

        /**
         * id : 20
         * name : 生殖专科医院
         */

        private int id;
        private String name;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }
    }


}
